package com.zhieasy.service;

import com.github.pagehelper.PageInfo;
import com.zhieasy.domain.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhieasy.domain.StudentInfoVo;
import com.zhieasy.domain.StudentVo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @author 风亦未止
 * @date 2021/11/16 19:44
 */
public interface StudentService extends IService<Student> {
    /**
     * 分页查询所有学生
     * @param student
     * @return
     */
    PageInfo<StudentVo> getList(int pageNum, int pageSize, Student student);

    /**
     * 查询所有学生
     * @return
     */
    List<StudentVo> getAll(Student student);

    /**
     * 获取学生总数
     * @return
     */
    Integer getStudentNum();

    /**
     * 获取提交简历数
     * @return
     */
    Integer getSubmitNum();
    /**
     * 获取单个学生信息
     * @param student
     * @return
     */
    StudentInfoVo getInfo(Student student);
}

